/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package Model;

/**
 *
 * @author kostas
 */
public class Item {
    private int itemId;
    private Product product;
    private boolean ordered;
    
    public Item(int i, Product p, boolean o) {
        itemId = i;
        product = p;
        ordered = o;
    }

    public int getItemId() {
        return itemId;
    }

    public boolean isOrdered() {
        return ordered;
    }

    public Product getProduct() {
        return product;
    }

    public void setOrdered(boolean ordered) {
        this.ordered = ordered;
    }

    public void setProduct(Product product) {
        this.product = product;
    }
    
}